package com.yunji.cabinet.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class MaintainDetailVO {
    @ApiModelProperty("格子号")
    private Integer ordinal;
    @ApiModelProperty("商品Id")
    private Long productId;
    @ApiModelProperty("sku")
    private String sku;
    @ApiModelProperty("商品名称")
    private String productName;
    @ApiModelProperty("商品图片")
    private String albumPics;
    @ApiModelProperty("商品类型")
    private String productType;
    @ApiModelProperty("开始高度")
    private Integer startHeight = 0;
    @ApiModelProperty("结束高度")
    private Integer closeHeight = 0;
    @ApiModelProperty("开始数量")
    private Integer startNums;
    @ApiModelProperty("结束数量")
    private Integer closeNums;
    @ApiModelProperty("开始电量")
    private Integer startBattleLevel;
    @ApiModelProperty("结束电量")
    private Integer closeBattleLevel;
    @ApiModelProperty("员工补货数量")
    private Integer cargoNums;
    @ApiModelProperty("检测补货数量")
    private Integer identityNums;

    public Integer getIdentityNums() {
        return this.closeNums - this.startNums;
    }
}
